package com.shuwen.cdp.track.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface EventMapper {

    @Insert("insert into events (${columns}) values (${values})")
    int insertEvents(String columns, String values);

    @Update("alter table events update ${columns} where ${where}")
    int updateEvents(String columns, String where);

}
